import axios from 'axios'

export const getweatherByCity = (adcode)=>{
    return axios.get(`https://restapi.amap.com/v3/weather/weatherInfo?city=${adcode}&key=b246d3d6954ef868e6b9af454d7ad5c2&extensions=base`)
}